package com.lzxzjy.serivce;


import com.lzxzjy.pojo.BorrowInfo;
import com.lzxzjy.pojo.PageBean;

import java.text.ParseException;
import java.util.List;

public interface BorrowInfoService {
    boolean borrowBooks(int readerIs, List<Integer> bookIds);

    PageBean<BorrowInfo> selectBorrowInfoByPageAndBookTerms(BorrowInfo borrowInfo, int currentPage, int pageSize);

    boolean lostBooks(int[] bookIds);

    boolean returnBooks(int[] bookIds);

    boolean lostBook(int bookId);

    boolean returnBook(int bookId);
}
